package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmNewsSensitiveService extends IService<WmSensitive> {
    /**
     * 插叙铭感词列表
     * @return
     */
    ResponseResult listSensitiveWords(SensitiveDto sensitiveDto);


    /**
     * 新增敏感词
     * @param wmSensitive 敏感词实体
     * @return
     */
    ResponseResult addSensitiveWord(WmSensitive wmSensitive);

    /**
     * 删除敏感词
     * @param id 敏感词ID
     * @return
     */
    ResponseResult deleteSensitiveWord(Integer id);

    /**
     * 修改敏感词
     * @param wmSensitive 敏感词实体
     * @return
     */
    ResponseResult updateSensitiveWord(WmSensitive wmSensitive);
}
